package com.tencent.qf.activity.special.area.service.dal.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 转链信息表
 * @TableName t_jd_gift_coupon_transfer_info
 */
@TableName(value ="t_jd_gift_coupon_transfer_info")
@Data
public class JdGiftCouponTransferInfo implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 业务唯一Key
     */
    @TableField("out_trade_no")
    private String outTradeNo;

    /**
     * 用户id
     */
    @TableField("uid")
    private String uid;

    /**
     * 微信unionid
     */
    @TableField("union_id")
    private String unionId;

    /**
     * skuId
     */
    @TableField("sku_id")
    private String skuId;

    /**
     * 商品ID
     */
    @TableField("goods_id")
    private String goodsId;

    /**
     * cps券id
     */
    @TableField("coupon_id")
    private String couponId;

    /**
     * Spuid
     */
    @TableField("spu_id")
    private String spuId;

    /**
     * 等级
     */
    @TableField("level")
    private String level;

    /**
     * 二合一页面领券链接
     */
    @TableField("merge_link")
    private String mergeLink;

    /**
     * 专区ID
     */
    @TableField("special_area_key")
    private String specialAreaKey;

    /**
     * 专区商品配置id
     */
    @TableField("special_goods_id")
    private String specialGoodsId;

    /**
     * 奖池ID
     */
    @TableField("award_pool_id")
    private Integer awardPoolId;

    /**
     * 坑位id
     */
    @TableField("award_position_id")
    private Integer awardPositionId;

    /**
     * 礼金批次id
     */
    @TableField("gift_coupon_key")
    private String giftCouponKey;

    /**
     * 短链接
     */
    @TableField("short_url")
    private String shortUrl;
    /**
     * cps领券链接
     */
    @TableField("cps_link")
    private String cpsLink;

    /**
     * 坑位内容
     */
    @TableField("api_content")
    private String apiContent;

    /**
     * 上报时间
     */
    @TableField("report_time")
    private Date reportTime;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;

    /**
     * 删除时间
     */
    @TableField("delete_time")
    private Date deleteTime;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}